﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PageLibrary.Page.Elements;

namespace PageLibrary
{
    class SearchPage_BE:SearchPage
    {
        public SearchPage_BE()
        {
            Elements.Add(new Input<SearchPageElements>(SearchPageElements.FlightType,Selector.GetTestDataByKey("SearchParametersPage_SelectFlightsTrip")));
            Elements.Add(new Select<SearchPageElements>(SearchPageElements.HumanCount, Selector.GetTestDataByKey("SetSearchParametersPage_HumanNumber")));
            Elements.Add(new Input<SearchPageElements>(SearchPageElements.DateFrom, Selector.GetTestDataByKey("SearchParametersPage_DateFromField")));
            Elements.Add(new Input<SearchPageElements>(SearchPageElements.DateRet, Selector.GetTestDataByKey("SearchParametersPage_DateToField")));
            Elements.Add(new Input<SearchPageElements>(SearchPageElements.CityFrom, Selector.GetTestDataByKey("SearchParametersPage_CityFromField")));
            Elements.Add(new Input<SearchPageElements>(SearchPageElements.CityTo, Selector.GetTestDataByKey("SearchParametersPage_CityToField")));
            Elements.Add(new Div<SearchPageElements>(SearchPageElements.Search, Selector.GetTestDataByKey("SearchParametersPage_SubmitSearch")));
        }
    }
}
